package com.wx.wechat.config;

/**
 * @author wx
 * @Description: 微信API域名地址
 * @date 2018/11/2 000222:12
 */
public interface WechatAPI {
    /**
     * 支付域名
     */
    String DOMAIN_PAY = "https://api.mch.weixin.qq.com";
    /**
     * 授权域名
     */
    String DOMAIN_MP = "https://api.weixin.qq.com";

    /**
     * 生成二维码规则URL
     */
    String WECHAT_PAY_QR_CODE_URL = "weixin://wxpay/bizpayurl?appid=%s&mch_id=%s&nonce_str=%s&product_id=%s&time_stamp=%s&sign=%s";
    /**
     * oauth2授权的url连接
     */
    String CONNECT_OAUTH2_AUTHORIZE_URL = "https://open.weixin.qq.com/connect/oauth2/authorize";
}
